/*
 * Copyright © 2016 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

@import '../../styles/variables.less';
@import '../../../bower_components/bootstrap/less/mixins.less';
@import '../../styles/themes/cdap/mixins.less';

.modal.hydrator-modal {
  &.confirm-modal {
    .modal-dialog {
      margin-top: 40vh;
      max-width: 400px;

      .modal-body {
        font-weight: 500;
        font-size: 16px;
        padding-top: 25px;

        strong { font-size: 22px; }

        .fa.fa-times {
          color: #999;
          cursor: pointer;
        }
      }

      .modal-footer {
        .btn {
          width: 100px;
        }
      }
    }
  }

  .modal-dialog {
    .modal-header {
      background-color: white;
      border-bottom: 0;
      box-shadow: none;
      height: inherit;

      .modal-title {
        font-size: 18px;
        line-height: 1;
        padding: 20px 20px 10px 20px;

        .fa.fa-times {
          cursor: pointer;
          color: #999;
        }
      }
    }

    .modal-body {
      padding: 0 20px;
    }

    .modal-footer {
      padding-left: 20px;
      padding-right: 20px;
    }

  }

  &.get-schema-modal {
    .modal-dialog {
      textarea.form-control {
        width: 90%;
        margin-bottom: 10px;
      }
    }
  }
}
